Wraps a nkGraphics::GltfMeshDecoder and offers functions for use in scripting.
More...
Wraps a nkGraphics::GltfMeshDecoder and offers functions for use in scripting.
◆ updateEnvironment()
static void nkAstraeus::lua::nkGraphicsWrap::GltfMeshDecoderWrapper::updateEnvironment |
( |
nkScripts::Environment * |
env | ) |
|
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
- Parameters
-
env | The environment to set up. |
◆ canDecode()
Wrapper function for the nkGraphics::GltfMeshDecoder::canDecode().
local b = nkGraphics.GltfMeshDecoder.canDecode(sourcesUbyte) ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The attribute value, as a bool.
◆ decode()
Wrapper function for the nkGraphics::GltfMeshDecoder::decode().
local b = nkGraphics.GltfMeshDecoder.decode(sourcesUbyte, mesh) ;
- Parameters
-
stack | The parameter stack. |
- Returns
- The attribute value, as a bool.
The documentation for this class was generated from the following file: